Sample Size Calculation to Evaluate Mediation Analysis

نویسنده

  • Rajendra Kadel
چکیده

Mediation analysis is used to review the comparative change in the amount of strength of association of the primary predictor with the outcome after adjustment for the mediator. Mediation models are very widely used in social sciences and biomedical sciences. Before conducting mediation studies, researchers want to know the sample size (i.e. number of subjects) required for achieving the adequate power when testing for mediation. To the author’s knowledge, there is no any SAS ® procedure that produces sample size calculation for mediation analysis. The author presents a macro that implements the methodology for sample size calculation for mediation analysis written by Vittinghoff et al. (2009). It implements the methods to calculate sample sizes for the linear regression models. Very basic understanding of SAS is enough to use this macro. SAS Macro programming skill is not expected. When the macro is invoked, a series of windows will pop-up asking user to input required information. Output will be presented in SAS output window as well as in Microsoft word document. This macro is tested on Windows SAS 9.1 and above. INTRODUCTION Mediation analysis is used to review the comparative change in the amount of strength of association of the primary predictor with the outcome after adjustment for the mediator. Mediation models are very widely used in social sciences, especially in psychological studies. Before conducting mediation studies, researchers want to know the sample size (i.e. number of subjects) required for achieving the adequate power when testing for mediation. This problem of sample size calculation for testing the mediation effect of intermediate variable to the primary predictor is a common issue in epidemiologic and clinical research. To the author’s knowledge, there is no any SAS procedure or that produces sample size calculation for mediation analysis. The SAS macro presented in this paper will be used to calculate sample for testing mediation effect based on Vittinghoff et al. (2009). They proposed the method based on variance inflation factor in regression that provide the exact sample size for linear model and approximations for logistic, Poisson, and Cox models. In this paper, I will present sample size calculation for linear models. The following four cases will be considered: (a) continuous primary predictor, continuous mediator (b) binary primary predictor, continuous mediator (c) continuous primary predictor, binary mediator, and (d) binary primary predictor, binary mediator. The authors argued that their method are also applicable to detecting the independent effect of a primary predictor in the presence of substantial confounding The method of sample size calculation is based on the Wald tests as these tests are more common in practice even though these methods are less reliable in case of small samples and if the alternative hypothesis are far from null. SAMPLE SIZE CALCULATION FOR LINEAR MODEL Let Y be the response, X1 a primary predictor variable and X2 is a mediator variable. The simple linear regression model takes the form yi = β0 + β1 X1 + β2 X2 + εi , εi~N(0, σe ) (1) Where β1 is the estimator of primary predictor (X1) before the adjustment of mediator (X2), β2 is the regression coefficient for the mediator ( X2 ) and σe 2 is the variance of the random error term in the linear regression. If β1 ∗ is the estimator of the primary predictor (X1) before the adjustment of mediator ( X2 ) in the full model (1), then proportion of treatment effect explained (PTE), which assess the mediation as the relative change in the strength of association of the primary predictor with the outcome after adjustment for the mediator, is of the form

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Sample size determination for mediation analysis of longitudinal data

BACKGROUND Sample size planning for longitudinal data is crucial when designing mediation studies because sufficient statistical power is not only required in grant applications and peer-reviewed publications, but is essential to reliable research results. However, sample size determination is not straightforward for mediation analysis of longitudinal design. METHODS To facilitate planning th...

متن کامل

R2 effect-size measures for mediation analysis.

R(2) effect-size measures are presented to assess variance accounted for in mediation models. The measures offer a means to evaluate both component paths and the overall mediated effect in mediation models. Statistical simulation results indicate acceptable bias across varying parameter and sample-size combinations. The measures are applied to a real-world example using data from a team-based h...

متن کامل

Sample size calculation for differential expression analysis of RNA-seq data under Poisson distribution

Sample size determination is an important issue in the experimental design of biomedical research. Because of the complexity of RNA-seq experiments, however, the field currently lacks a sample size method widely applicable to differential expression studies utilising RNA-seq technology. In this report, we propose several methods for sample size calculation for single-gene differential expressio...

متن کامل

آیا می‌خواهید مفهوم حجم نمونه و توان آزمون‌های آماری را عمیق‌تر درک نمایید؟

Sample size estimation is one of the crucial issues in the research methodology in medical sciences. It is an important issue for not only researchers but also readers of medical papers their frequent questions show how much they need to simple but accurate information. This paper presents the basic concepts of sample size calculation, and simplifies complicated issues using concrete example...

متن کامل

The Effect of Social Capital on the Mental Health of the University Students During the COVID-19 Pandemic With the Mediation of the Resilience Variable

Objectives: This research was conducted to evaluate the effect of social capital on the student's mental health with the mediation of resilience during the COVID-19 pandemic. Methods: The research is based on the objective criterion in the applied research group and the data collection method criterion in the survey research group. The statistical population includes the students of the state ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008